/**
 * Created by perqin on 16-12-6.
 */

'use strict';

module.exports = function (app) {
  var sessions = require('../controllers/sessions.api.server.controller');

  app.route('/api/sessions')
    .post(sessions.create)
    .delete(sessions.delete);
};
